<?PHP

//
$user_name = "root";
$pass_word = "haddons";
$database = "PPI";
$server = "127.0.0.1";
//
$db_handle = mysql_connect($server, $user_name, $pass_word);
$db_found = mysql_select_db($database, $db_handle);
//    
include 'i_functions.php';
//
$FileName = "status";
$FormID = "StatusForm";
$Options = array();
$Options['DataType'] = "SQL";
$Options['Name'] = "Form";
$Options['Action'] = "./Form.php?Form=" . $FormID . "&Title=" . "Status" . "&Table=" . $FileName . "&ID=";
//$Options['LineNo'] = "Y";
//$Options['Trace'] = "Y";
//$Options["Chooser"] = 2;
$Columns= array();
$Result = BuildDataArray($FileName, $FormID, $Columns, $Options);
/*print "<br>tdd_SQL2Array - Data = ";
var_dump($Data);
print "<br>tdd_SQL2Array - Columns = ";
var_dump($Columns);
$_SESSION['Work'] = array();*/
$HTML = Array2Table($xData, $Columns, $Options);
//
include 'i_head.php';
print $HTML;
include 'i_foot.html';
//
?>